* {
    margin: 0;
    padding: 0;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/**
页头部分
*/
#head {
    height: 110px;
    padding-top: 50px;
    margin-bottom: 35px;

    .logo {
        float: left;
        margin-right: 118px;

        img {
            height: 75px;
            width: 215px;
        }
    }

    .findinput {
        float: left;
        margin-right: 20px;

        form {
            width: 528px;
            height: 46px;
            border: 2px solid #43240c;
            border-radius: 19px;
            position: relative;

            span {
                color: #4f2e1c;
                font-size: 20px;

                position: absolute;
                top: 12px;
                left: 10px;
            }

            input {
                font-size: 16px;
                color: #757575;

                padding-left: 30px;
                width: 366px;
                height: 46px;

                border: none;
                outline: none;
                border-radius: 19px;
            }

            button {
                width: 124px;
                height: 40px;
                background-color: #fee44e;

                border: none;
                border-radius: 18px;
            }
        }
    }

    .icfont {
        a {
            text-decoration: none;
            float: left;
            margin-left: 30px;

            span {
                font-size: 40px;
                color: #ff6363;
            }

            p {
                color: #877a73;
                font-size: 12px;
            }
        }
    }
}

/*
导航部分
*/
#nav {
    width: 100%;
    height: 46px;
    min-width: 1200px;
    background-color: #43240c;

    ul {
        list-style: none;

        li {
            width: 220px;
            height: 46px;

            text-align: center;
            line-height: 46px;
            color: #ffffff;
            font-size: 16px;
            float: left;

            cursor: pointer;

            &:hover {
                background-color: #fee44e;
                color: #43240c;
            }
        }
    }
}

.active {
    background-color: #fee44e;
    color: #43240c !important;
}

/*
购物车
*/
#cartsList {
    background-color: #f5f5f5;;
    height: 500px;
    overflow: auto;

    tr:first-child {
        width: 1200px;
        height: 40px;
        margin-bottom: 4px;

        display: flex;
        justify-content: space-between;
        align-items: center;

        th:first-child {
            width: 100px;
            height: 40px;

            input {
                width: 18px;
                height: 18px;
                border: 1px solid #d9d9d9;
                margin-top: 11px;
                margin-left: 40px;
                margin-right: 10px;
                float: left;
            }

            p {
                margin-top: 11px;
                color: #000000;
                font-size: 16px;
                float: left;
            }
        }

        th:nth-child(2) {
            width: 540px;
            height: 40px;
            line-height: 40px;
            text-align: left;
        }

        th:nth-child(3) {
            width: 70px;
            height: 40px;
            line-height: 40px;
            text-align: left;
        }

        th:nth-child(4) {
            width: 150px;
            height: 40px;
            line-height: 40px;
            text-align: left;
        }

        th:nth-child(5) {
            width: 60px;
            height: 40px;
            line-height: 40px;
            text-align: left;
        }

        th:last-child {
            width: 60px;
            height: 40px;
            line-height: 40px;
            text-align: left;
        }

    }

    tr {
        width: 1200px;
        height: 95px;
        margin-bottom: 4px;

        display: flex;
        justify-content: space-between;
        align-items: center;
        td:first-child {
            width: 100px;
            height: 95px;
            display: flex;
            justify-content: center;
            align-items: center;
            input {
                width: 18px;
                height: 18px;
                border: 1px solid #d9d9d9;
            }

        }
        td:nth-child(2){
             width: 540px;
            height: 95px;
            display: flex;
            img{
                width: 95px;
                margin-right: 10px;
            }
            span{
                vertical-align: top;
                line-height: 30px;
                font-size: 16px;
            }
        }
        td:nth-child(3){
            width: 70px;
            height: 95px;
            line-height: 95px;
        }
        td:nth-child(4) {
            width: 150px;
            height: 70px;
            padding-top:25px;
            input:first-child{
                height: 40px;
                width: 40px;
                border: 1px solid #d9d9d9;
                font-size: 30px;
                color: #757575;
                background-color: #ffffff;
            }
            input:nth-child(2){
                width: 64px;
                height: 40px;
                border:none;
                border-top: 1px solid #d9d9d9;
                border-bottom: 1px solid #d9d9d9;
                font-size: 30px;
                text-align: center;
                color: #757575;
                background-color: #ffffff;
            }
            input:last-child{
                height: 40px;
                width: 40px;
                border: 1px solid #d9d9d9;
                font-size: 30px;
                color: #757575;
                background-color: #ffffff;
            }
        }

        td:nth-child(5) {
            width: 60px;
            height: 95px;
            line-height: 95px;

        }

        td:last-child {
            width: 60px;
            height: 95px;
            line-height: 95px;

        }
    }
}

/*
总价部分
*/
#priceAllget{
    margin-top: 25px;
    height: 50px;
    background-color: #f5f5f5;;

    div:first-child{
        width: 100px;
        height: 50px;
        float: left;

        font-size: 12px;
        color: #666666;
        text-align: center;
        line-height: 50px;
    }
    p{
        float: left;
        height: 200px;
        height: 50px;

        font-size: 12px;
        color: #999999;
        line-height: 50px;

        span{
            color: #ff6700;
            margin-left: 3px;
            margin-right: 3px;
        }
    }
    div:nth-child(3){
        width: 160px;
        height: 50px;
        background-color:#ff6700; ;
        float: right;

        text-align: center;
        line-height: 50px;
        font-size: 16px;
        color: #ffffff;
    }
    div:last-child{
        width: 140px;
        height: 50px;
        float: right;
        line-height: 50px;
        font-size: 12px;
        color: #ff6700;
        text-align: right;
        span{
            margin-left: 5px;
            margin-right: 5px;
            font-size:20px;
            color: red;
        }
    }
    
}
/*
页位部分
*/
footer {
    width: 100%;
    min-width: 1200px;
    height: 240px;
    background-color: #484848;

    .container {
        padding-top: 38px;

        .buttomtop {
            width: 1200px;
            height: 112px;
            display: flex;

            .buttomboxleft {
                margin-left: 35px;
                display: flex;

                img {
                    width: 112px;
                    height: 112px;
                    margin-right: 19px;
                }

                .textline {
                    h3 {
                        font-size: 35px;
                        color: #ffffff;
                        line-height: 51px;
                    }

                    p {
                        margin-left: 10px;
                        font-size: 17px;
                        color: #ffffff;
                        line-height: 26px;
                    }
                }

            }

            .buttomright {
                margin-left: 195px;
                line-height: 112px;
                height: 112px;

                span {
                    color: #ffffff;
                    font-size: 22px;

                }

                a {
                    margin-left: 15px;
                    color: #ffffff;
                    text-decoration: none;

                    &:hover {
                        color: red;
                    }
                }
            }
        }

        .buttomtext {
            margin: 56px auto;
            text-align: center;

            img {
                width: 22px;
            }

            span {
                font-size: 18px;
                line-height: 22px;
                color: #ffffff;
            }
        }
    }
}